package com.authine.cloudpivot.ext.model.order;

import com.authine.cloudpivot.ext.entity.goods.CartEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 订单行为数据同步触发
 *
 * @author 张天赐
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class OrderSync implements Serializable {

    private static final long serialVersionUID = 474986276005030409L;

    private String event;

    private List<Map<String,Object>> cartList;
    private List<Map<String,Object>> orderCustomerGoodsList;
    private List<Map<String,Object>> orderVendorList;
    private List<Map<String,Object>> orderCustomerList;
    private List<Map<String,Object>> orderTraceList;
    private List<Map<String,Object>> orderGoodsAcceptList;
    private List<Map<String,Object>> orderGoodsReturnsList;
    private List<Map<String,Object>> orderGoodsRelationList;

}
